#include "model.h"


IDirect3DDevice9* CModel::s_device=NULL;


CModel::~CModel()
{
	std::list<Component*>::iterator iter;

	for( iter=listComponent.begin() ;
		iter!=listComponent.end() ;
		iter++ )
	{
		delete *iter;
		*iter=NULL;
	}
	listComponent.clear();
}
